package com.yuji.aacar.controller.order.orderstatus;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;

import com.yuji.aacar.R;
import com.yuji.aacar.base.BaseActivity;
import com.yuji.aacar.widgets.autolayout.AutoRelativeLayout;
import com.yuji.aacar.widgets.textview.PingFangTextView;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * <li>Package:com.yuji.aacar.controller.order.orderstatus</li>
 * <li>Author: lining </li>
 * <li>Date: 2018/3/8</li>
 * <li>Description:   </li>
 */

public class OrderFailActivity extends BaseActivity {


    @BindView(R.id.title_back)
    ImageView titleBack;
    @BindView(R.id.back_image)
    AutoRelativeLayout backImage;
    @BindView(R.id.title_content)
    PingFangTextView titleContent;
    @BindView(R.id.back_login)
    PingFangTextView backLogin;
    @BindView(R.id.title_message_iv)
    ImageView titleMessageIv;
    @BindView(R.id.title_message_rl)
    AutoRelativeLayout titleMessageRl;
    @BindView(R.id.title_rl)
    AutoRelativeLayout titleRl;
    @BindView(R.id.order_fail_wait_btn)
    Button orderFailWaitBtn;
    @BindView(R.id.order_fail_change_time_btn)
    Button orderFailChangeTimeBtn;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        setContentView(R.layout.activity_order_fail);
        ButterKnife.bind(this);
        initTitle(true, "派单失败", null);
        super.onCreate(savedInstanceState);
    }

    @OnClick({R.id.order_fail_wait_btn, R.id.order_fail_change_time_btn})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.order_fail_wait_btn:
                presentController(OrderSuccessActivity.class);
                break;
            case R.id.order_fail_change_time_btn:
                break;
        }
    }
}
